/* Getting the new tags to behave */
article, aside, audio, canvas, command, datalist, details, embed, figcaption, figure, footer, header, hgroup, keygen, meter, nav, output, progress, section, source, video{ display: block; }
mark, rp, rt, ruby, summary, time{ display: inline }

/* Global properties ======================================================== */
body { 
	background:#212222; 
	font-family:Arial, Helvetica, sans-serif;
	font-size:100%; 
	line-height:1.125em;
	color:#242424;
}
html { min-width:1000px;}
html, body { height:100%;}



/* Global Structure ============================================================= */
.container {
	margin: 0 auto;
	position: relative;
	width: 1000px;
	font-size:.8125em;
}

	/* Header */
	header{
		height:72px;
		overflow:hidden;
		background:url(../images/header-bg.gif) 0 0 repeat-x;
	}
	
	/*Gallery*/
	#gallery {
		height:496px;
		overflow:hidden;
		background:url(../images/gallerry-bg.gif) 0 0 repeat-x;
	}
	
	/* Content */
	#content {
		float: left;
		width: 572px;
	}
	
	/* Sidebar */
	aside{
		float: left;
		width: 302px;
		margin-right:52px;
	}
			
	/* Footer */
	footer{
		padding:20px 0 22px 0;
		border-top:5px solid #eee;
	}




/* Left & Right alignment */

.fleft { float:left;}
.fright { float:right;}
.clear { clear:both;}

.col-1, .col-2, .col-3 { float:left;}

.alignright { text-align:right;}
.aligncenter { text-align:center;}

.wrapper { 
	width:100%;
	overflow:hidden;
}

/* The inside class provides consistent padding. To be used often! */
.inside{ padding: 32px 37px 50px 37px; }


/*----- form defaults -----*/
input, select, textarea { 
	font-family:Arial, Helvetica, sans-serif;
	font-size:1em;
	vertical-align:middle;
	font-weight:normal;
}

/*----- other -----*/
figure { margin-bottom:18px;}

.img-indent { 
	margin:0 20px 0 0; 
	float:left;
}
.img-box { 
	width:100%; 
	overflow:hidden; 
	padding-bottom:15px;
}
	.img-box figure { 
		float:left; 
		margin:0 20px 0 0;
		padding:0;
	}

.extra-wrap { 
	overflow:hidden;
}

p {margin-bottom:18px;}
.p1 { margin-bottom:9px;}
.p2 { margin-bottom:18px;}
.p3 { margin-bottom:27px;
}


/*----- txt, links, lines, titles -----*/
a {
	color:#f27f02; 
	outline:none;
}
a:hover{
	text-decoration:none;
}

h1 {
	font-size:34px;
	line-height:1.2em;
	color:#fff;
	font-weight:normal;
	background:url(../images/logo.jpg) no-repeat 0 0;
	padding:6px 0 8px 69px;
	position:absolute;
	left:39px;
	top:6px;
}
	h1 a {
		color:#fff;
		text-decoration:none;
	}
h2 {
	font-size:30px;
	line-height:1.2em;
	font-weight:normal;
	color:#212222;
	margin-bottom:22px;
}
	h2 span {
		color:#8a8a8a;
	}
h3 {
	font-size:1em;
	margin-bottom:6px;
}
	h3 a { color:#242424; }
	h3 a:hover {
		text-shadow: 1px 1px 1px #888; 
	}




/*==================boxes====================*/
.main-box {
	border-top:5px solid #eaeaea;
	background:#fff;
	width:100%;
    min-height: 500px;
}


.contacts {
	padding-bottom:20px;
}
	.contacts li {
		width:100%;
		overflow:hidden;
	}
		.contacts li strong {
			float:left;
			width:95px;
		}


.list1 {
	margin-left:12px;
	padding-bottom:18px;
}
.list1 li {
	background:url(../images/arrow1.gif) no-repeat 0 6px;
	padding:0 0 0 12px;
}



/*===== header =====*/
header nav {
	float:right;
}
		header nav ul li {
			float:left;
		}
			header nav ul li a {
				font-size:21px;
				color:#fff;
				height:67px;
				line-height:67px;
				text-decoration:none;
				text-align:center;
				float:left;
                padding: 0px 15px;
				background:#433b8f;
                letter-spacing: 0.1em;
                font-family: 'Open Sans Condensed', 'sans-serif';
				background-image: gradient(top, #383282, #484095); /* FF3.6 */
				background-image: -moz-linear-gradient(top, #383282, #484095); /* FF3.6 */
				background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #383282),color-stop(1, #484095)); /* Saf4+, Chrome */
        filter:  progid:DXImageTransform.Microsoft.gradient(startColorStr='#383282', EndColorStr='#484095'); /* IE6,IE7 */
        -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#383282', EndColorStr='#484095')"; /* IE8 */
		}
		header nav ul li a.current, header nav ul li a:hover {
			padding-bottom:5px;
		}
		
		header nav ul li:nth-of-type(2) a {
			background:#0184cd;
			background-image: -moz-linear-gradient(top, #017bc8, #018ed3); /* FF3.6 */
			background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #017bc8),color-stop(1, #018ed3)); /* Saf4+, Chrome */
			filter:  progid:DXImageTransform.Microsoft.gradient(startColorStr='#017bc8', EndColorStr='#018ed3'); /* IE6,IE7 */
			-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#017bc8', EndColorStr='#018ed3')"; /* IE8 */
		}
		header nav ul li:nth-of-type(3) a {
			background:#7cbc19;
			background-image: -moz-linear-gradient(top, #73b515, #86c31d); /* FF3.6 */
			background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #73b515),color-stop(1, #86c31d)); /* Saf4+, Chrome */
			filter:  progid:DXImageTransform.Microsoft.gradient(startColorStr='#73b515', EndColorStr='#86c31d'); /* IE6,IE7 */
			-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#73b515', EndColorStr='#86c31d')"; /* IE8 */
		}
		header nav ul li:nth-of-type(4) a {
			background:#ffbc00;
			background-image: -moz-linear-gradient(top, #ffb500, #ffc300); /* FF3.6 */
			background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #ffb500),color-stop(1, #ffc300)); /* Saf4+, Chrome */
			filter:  progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffb500', EndColorStr='#ffc300'); /* IE6,IE7 */
			-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffb500', EndColorStr='#ffc300')"; /* IE8 */
		}
		header nav ul li:nth-of-type(5) a {
			background:#f07502;
			background-image: -moz-linear-gradient(top, #ee6c01, #f27f02); /* FF3.6 */
			background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #ee6c01),color-stop(1, #f27f02)); /* Saf4+, Chrome */
			filter:  progid:DXImageTransform.Microsoft.gradient(startColorStr='#ee6c01', EndColorStr='#f27f02'); /* IE6,IE7 */
			-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#ee6c01', EndColorStr='#f27f02')"; /* IE8 */
		}
		header nav ul li:nth-of-type(6) a {
			background:#d00110;
			background-image: -moz-linear-gradient(top, #d00110, #da0116); /* FF3.6 */
			background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #d00110),color-stop(1, #da0116)); /* Saf4+, Chrome */
			filter:  progid:DXImageTransform.Microsoft.gradient(startColorStr='#d00110', EndColorStr='#da0116'); /* IE6,IE7 */
			-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorStr='#d00110', EndColorStr='#da0116')"; /* IE8 */
		}




/*===== gallery =====*/
.roundabout-holder  { 
	width:850px;
	height:496px;
	margin:0 auto;
}
.roundabout-moveable-item {
   width: 646px;
   height: 416px;
   cursor: pointer;
	 border:3px solid #ccc;
	 border:3px solid rgba(0, 0, 0, 0.08);
   border-radius:4px;
	 -moz-border-radius:4px;
	 -webkit-border-radius:4px;
}
	.roundabout-moveable-item img{
		width:100%;
	}
.roundabout-in-focus {
	border:3px solid rgba(0, 0, 0, 0.2);
}


/*===== content =====*/
#content {
	
}
	#content img, aside img {
		border:3px solid #ebebeb;
		border-radius:4px;
		-moz-border-radius:4px;
		-webkit-border-radius:4px;
	}
	#content img:hover {
		border-color:#bbb;
	}
	

/*--- news list styles ---*/
	.news li {
		overflow:hidden;
		position:relative;
		padding:0 0 26px 84px;
	}
	.news li:last-child {
		padding-bottom:0;
	}
	
		.news li figure {
			width:59px;
			height:59px;
			background:url(../images/date-bg1.gif) no-repeat 0 0;
			position:absolute;
			left:0;
			top:0;
			text-align:center;
			border:3px solid #ebebeb;
			border-radius:4px;
			-moz-border-radius:4px;
			-webkit-border-radius:4px;
			font-size:10px;
			color:#fff;
			text-transform:uppercase;
		}
			.news li figure strong {
				display:block;
				font-size:30px;
				line-height:1.2em;
				margin-bottom:-7px;
				padding-top:4px;
			}
		
		.news li:nth-of-type(4n+2) figure {
			background:url(../images/date-bg2.gif) no-repeat 0 0;
		}
		.news li:nth-of-type(4n+3) figure {
			background:url(../images/date-bg3.gif) no-repeat 0 0;
		}
		.news li:nth-of-type(4n+4) figure {
			background:url(../images/date-bg4.gif) no-repeat 0 0;
		}




.team-list li {
	width:100%;
	overflow:hidden;
	padding-bottom:43px;
}
.team-list li:last-child {
	padding-bottom:0;
}
	.team-list li figure {
		float:left;
		margin:0 20px 0 0;
		padding:0;
	}


/*--- loopedSlider styles ---*/
/*
 * Required 
*/
#loopedSlider .wrap { width:295px; height:295px; overflow:hidden; position:relative;}
#loopedSlider .slides { position:absolute; top:0; left:0; }
#loopedSlider .slides div { position:absolute; top:0; width:295px; display:none; }
/*
 * Optional
*/
#loopedSlider { width:295px; position:relative; clear:both; }
#loopedSlider .nav-controls {
	width:100%;
	overflow:hidden;
	padding-top:10px;
}
#loopedSlider li {
	display:inline;
}
#loopedSlider li a.previous {
	float:left;
}
#loopedSlider li a.next {
	float:right;
}




/*===== footer =====*/
footer {
	color:#fff;
}
	footer .fleft {
		padding-left:40px;
	}
	footer .fright {
		padding-right:40px;
	}


/*----- forms -----*/
#contacts-form { 
	clear:right;
	width:100%;
	overflow:hidden;
}
	#contacts-form fieldset { 
		border:none;
		float:left;
	}
		#contacts-form .field { 
			clear:both;
		}
			#contacts-form label { 
				float:left;
				width:110px;
				line-height:18px;
				padding-bottom:6px;
				font-weight:bold;
			}
			#contacts-form input {
				width:205px;
				padding:1px 0 1px 3px;
				background:none;
				border:1px solid #e5e5e5;
				color:#616161;
				float:left
			}
			#contacts-form input:invalid {
				border-color:red;
			}
			#contacts-form textarea { 
				width:450px;
				height:215px;
				padding:1px 0 1px 3px;
				background:none;
				border:1px solid #e5e5e5;
				color:#616161;
				margin-bottom:12px;
				overflow:auto;
				float:left;
			}
			#contacts-form div:last-child {
				padding-left:110px;
			}

/*==========================================*/

.box-kanji{
    height: 120px;
    position: relative;
}
.circle{
    border-radius: 50%;
    width: 50px;
    height: 50px;
    border: 1px solid #0066cc;
    background-color: #0e509e;
    position: absolute;
    top: 0;
    left: 0;
}
.kanji-content{
    position: absolute;
    position: absolute;
    top: 25px;
    left: 32px;
}
.kanji-content h3{
    font-size: 26px;
}
.kanji-content a:hover{
    color: #009200;
}
.kanji-content a{
    text-decoration: none;
}
.kanji-content p{
    padding-left: 50px;
}
.kanji{
    margin-top: 130px;
}
.clear{
    clear: both;
}
.nav-groups a{
    text-decoration: none;
}
.nav-groups li a{
    display: block;
    width: 155px;
    padding: 5px 10px;

}
.dropdown>a{
    color: white;
    font-size: 14px;
}
.level1{
    background-color: #00a500;
}
.ul-level1 li a{
    background-color: #41c341;
    color: #FFFFFF;
    border-bottom: 1px solid #00a500;
}
.level2{
    background-color: #0E509E;
}
.ul-level2 li a{
    background-color: #4372AA;
    color: #FFFFFF;
    border-bottom: 1px solid #0E509E;
}
.level3{
    background-color: #FF130D;
}
.ul-level3 li a{
    background-color: #DF5552;
    color: #FFFFFF;
    border-bottom: 1px solid #FF130D;
}
.menu-groups{
    width:20%;
    float: left;
}
.content-groups{
    float: left;
    width: 80%;
}
.tb-groups td{
    border-top: 1px solid #333;
    border-left: 1px solid #333;
    border-bottom: 1px solid #333333;
    width: 130px;
}
.tb-groups .group-id{
    width: 50px;
}
.tb-groups td:last-child{
    border-right: 1px solid #333;
    border-bottom: 1px solid #333;
}
.tb-groups tr:last-child td{
    border-bottom: 1px solid #333;
}
.word-id, .word-kanji, .word-on, .word-kun, .word-hantu{
    display: block;
    margin: 5px 0px 5px 10px;
}
.word-on, .word-kun, .word-hantu{
    font-size: 15px;
    padding-left: 5px;
}
.group-id{
    font-size: 20px;
    text-align: center;
    vertical-align: middle;
}
.word-id{
    text-align: center;
    font-size: 15px;
    font-weight: bold;
}
.word-kanji{
    font-size: 60px;
    text-align: center;
    line-height: 60px;
}
.word-kanji a{
    text-decoration: none;
    color: #000000;
}
.word-kanji a:hover{
    color: rgba(60, 60, 60, 0.84);
}
.box-search legend, .box-option-view legend{
    margin: 0px 5px;
    padding: 0px 5px;
}
.box-search{
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px 0px 10px 20px;
}
.box-option-view{
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px 0px 10px 20px;
    margin-bottom: 10px;
    margin-top: 10px;
}
.tb-head-kanji{
    width: 100%;
    margin-top: 20px;
}
.tb-head-kanji th{
    background-color: #8EA7FB;
    line-height: 30px;
    color: white;
    border: 1px solid #8EA7FB;
}
.tb-head-kanji td{
    border: 1px solid #8EA7FB;
}
.btn-start{
    cursor:pointer;
}
.page-reference{
    width: 100%;
    margin: 0;
    padding: 0;
}
.page-reference tr td:first-child{
    border-left: 1px solid #8EA7FB;
}
.page-reference tr td:last-child{
    border-right: 1px solid #8EA7FB;
}
.page-reference td{
    border-bottom: 1px solid #8EA7FB;
}
.RefKanji{
    width: 100px;
}
.ruby{
    cursor: pointer;
}
.translate{
    padding-top: 20px;
    font-size: 15px;
}
.span_center{
    line-height: 56px;
    font-size: 17px;
}
.btn-learn-it, .btn-remove-it{
    background-color: #8EA7FB;
    color: #FFFFFF;
    margin: 0px 0px 3px 5px;
    line-height: 23px;
    padding: 2px 7px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
}
a.btn-learn-it:hover{
    text-decoration: underline;
    color: #ececec;
}
.flipbox{
    width: 700px;
    min-height: 300px;
    border: 1px solid #232;
}
#contacts-form input.btn-send{
    width: 70px;
    padding: 5px 0px;
    background-color: #017bc8;
    color: #FFFFFF;
    font-weight: bold;
}
.box-user{
    border: 1px solid #333333;
    margin: 5px 10px 10px 0px;
    padding: 5px 5px;
    width: 164px;
    border-radius: 5px;
}
.op-show{
    width: 500px;
    float: left;
}
#num-words{
    font-size: 20px;
}
.btn-list-learn{
    background-color: #8EA7FB;
    color: #FFFFFF;
    text-decoration: none;
    float: left;
    margin-right: 5px;
    margin-left: 5px;
    border-radius: 5px;
    padding: 5px 10px;
}
.btn-flash-card{
    background-color: #8EA7FB;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    padding: 5px;
    margin: 0px 0px 0px 0px;
    display: block;
    float: left;
    border-radius: 5px;
}
.word{
    font-size: 30px;
    color: #000000;
    text-decoration: none;
    margin-right: 10px;
    line-height: 40px;
}
.word-select{
    background-color: #0184cd;
    color: #fff;
    padding: 0px 5px;
    margin: 10px 0px;
}
._kanji{
    width: 300px;
    height: 300px;
    float: left;
    text-align: center;
    vertical-align: middle;
    font-size: 210px;
    line-height: 260px;
}
.description{
    float: left;
}
.form-register {
   float: left;
    width: 800px;
}
.form-register h2{
    margin-top: 10px;
}
span.required{
    color: #ff0000;
}
.row{

}
.form-register .row label{
    float: left;
    width: 150px;
    display: block;
    clear: both;
    text-align: right;
    padding-right: 20px;
    margin-top: 8px;
}
.form-register .row input{
    float: left;
}
.form-register .buttons{
    margin-top: 10px;
    margin-left: 200px;
}
.form-register .hint {
    margin-left: 170px;
    padding: 0;
    color: #999;
}
#User_verifyCode{

}
.errorMessage{
    color: #ff0000;
}
.box-word{
    width: 158px;
    border: 1px solid #212121;
    min-height: 190px;
    float: left;
}
.slGroup{
    margin-left: 5px;
    width: 92%;
    border: 1px solid #017bc8;
}
.info-person{

}
.info-person h3{
    color: #FFFFFF;
    background-color: #212121;
    line-height: 30px;
    padding: 0px 0px 0px 10px;
}
.info-person a{
   text-decoration: none;
}
.info-person li a{
    background-color: #787878;
    color: #FFFFFF;
    width: 93%;
    display: block;
    border-bottom: 1px solid #333333;
    padding: 5px 0px 5px 10px;
}
.info-person li a:hover{
    background-color: #505050;
}
.flash-error{
    color: #ff0000;
    font-size: 14px;
    text-align: left;
    font-family: tahoma;
    padding: 0px;
    margin-bottom: 10px;
}
.flash-success{
    color: #114cff;
    font-size: 14px;
    text-align: left;
    font-family: tahoma;
    padding: 0px;
    margin-bottom: 10px;
}